package com.j3a.journal.beanservice;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.j3a.journal.beandao.IPersonnaliteDao;
import com.j3a.journal.generic.IDaoGeneric;
import com.j3a.journal.generic.ServiceGeneric;
import com.j3a.journal.model.Personnalite;

@Service( "personnaliteService" )
public class PersonnaliteService extends ServiceGeneric<Personnalite, String> implements
        IPersonnaliteService {

    @Autowired
    private transient IPersonnaliteDao personnaliteDao;

    public PersonnaliteService() {
    }

    @Override
    public IDaoGeneric<Personnalite, String> getDAO() {
        // TODO Auto-generated method stub
        return personnaliteDao;
    }

}
